<?php

//$db['server'] = '10.100.100.21';
//$db['user'] = 'portal_hinos';
//$db['password'] = 'itgs2015';
//$db['dbname'] = 'portal_hinos';

$db['server'] = 'localhost:3306';
$db['user'] = 'root';
$db['password'] = '';
$db['dbname'] = 'portal_hinos';

$conecta = mysql_connect($db['server'], $db['user'], $db['password']) or print (mysql_error()); 
mysql_select_db($db['dbname'], $conecta) or print(mysql_error()); 


